import { reactive } from 'vue';
export const articleViewConfig = {
    pagination: reactive({
        pageSize: 5
    }),
    columns: [
        {
            title: "标题",
            dataIndex: "title",
            key: "title",
        },
        {
            title: "创建时间",
            dataIndex: "createdAt",
            key: "createdAt",
        },
        {
            title: "修改时间",
            dataIndex: "updatedAt",
            key: "updatedAt",
        },
        {
            title: "类型",
            key: "type",
            dataIndex: "type",
            slots: {
                customRender: "type",
            },
        },
        {
            title: "编辑",
            key: "edit",
            slots: {
                customRender: "edit",
            },
        },
    ],

}